require("../../libs/download/font_prhzk9fn1y9/iconfont.css");
require("../../libs/download/font_prhzk9fn1y9/iconfont.js");
require("../css/zjf-dom.less");
module.exports = {
	// 底部导航栏
	nav(v) {
		document.querySelector("#tapBar").innerHTML = `
        <a href="./index1.html" class="${v === "index1" ? "active" : ""}">
        <span class="iconfont ">&#xe64f;</span>

        <span>首页</span>
    </a>
    <a href="./zjf-sport-course.html" class="${v === "sport" ? "active" : ""}">
        <span class="iconfont">&#xe70b;</span>

        <span>运动</span>
    </a>
    <a href="./mine.html" class="${v === "mine" ? "active" : ""}">
        <span class="iconfont">&#xe899;</span>

        <span>我的</span>
    </a>`;
	},
	nav2(v) {
		document.querySelector("#headnav").innerHTML = `
        <a href="zjf_sport_run.html" class="${
					v === "run" ? "active" : ""
				}">跑步</a>
        <a href="zjf_sport_ride.html" class="${
					v === "ride" ? "active" : ""
				}">骑行</a>
        <a href="zjf-sport-course.html" class="${
					v === "course" ? "active" : ""
				}">课程训练</a>`;
	},
};
